/*
 * @Author: your name
 * @Date: 2021-11-09 19:38:10
 * @LastEditTime: 2021-11-09 19:38:11
 * @LastEditors: your name
 * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 * @FilePath: \li-yuwei\demo-work\src\filters\timeFormart.js
 */
import Vue from "vue";
import moment from "moment";
//日期过滤器
Vue.filter("timeFormat", (val) => {
    return moment(val).format("YYYY-MM-DD HH:mm:ss");
});